<?php
	/* @var $navigation Zend_View_Helper_Navigation_Menu */
	$navigation = $this->siteNavigation('menu');

	/* @var $container Zend_Navigation_Container */
	$container = $navigation->getContainer();

	// znajdz aktywną stronę!
	if ('gallery' == $this->urlParams('module')) {
		$container->findBy('alias', 'galeria')->setActive(true);
	} else
	if (null != ($page = $container->findBy('alias', $this->urlParams('alias')))) {
		$page->setActive(true);
	}

	$navigation->setMaxDepth(2);
	print $navigation->render();